<div class="panel-group" id="accordion" style="">
  <div class="panel panel-default">
    <div class="panel-heading">
      <h4 class="panel-title">
        <a  data-parent="" href="<?php echo $this->webroot?>">
          <i style="color:#F50000" class="fa fa-book fa-fw"></i> <?php echo __("Bookmaker"); ?>
        </a>
      </h4>
    </div>
    <div id="collapseBookmaker" class="panel-collapse collapse <?php echo $this->name.'/'.$this->action=='Bookmakers/index'?'in':''; ?>">
    </div>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading">
      <h4 class="panel-title">
        <a data-toggle="collapse" data-parent="#accordion" href="#collapseLiveScore">
          <i style="color:#FFDB49" class="fa fa-flash fa-fw"></i> <?php echo __("Live Score"); ?>
        </a>
      </h4>
    </div>
    <div id="collapseLiveScore" class="panel-collapse collapse <?php echo $this->name.'/'.$this->action=='Match/live_score'?'in':''; ?>">
      <div class="panel-body">
      	<?php foreach ($feeds_live_score as $feed) { ?>
      		<p>
			  	<a href='<?php echo $this->webroot."Match/live_score/".$feed["Feed"]["country"]; ?>' ><i class="famfamfam-flag-<?php echo $feed["Feed"]["country_code"] ;?>"></i> <?php echo __($feed["Feed"]["country"]); ?></a>
      		</p>
		<?php } ?>
      </div>
    </div>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading">
      <h4 class="panel-title">
        <a data-toggle="collapse" data-parent="#accordion" href="#collapseLive">
          <i style="color:#FFDB49" class="fa fa-flash fa-fw"></i> <?php echo __("Live"); ?>
        </a>
      </h4>
    </div>
    <div id="collapseLive" class="panel-collapse collapse <?php echo $this->name.'/'.$this->action=='Match/live'?'in':''; ?>">
      <div class="panel-body">
      	<?php foreach ($feeds_live as $feed) { ?>
      		<p>
			  	<a href='<?php echo $this->webroot."Match/live/".$feed["Feed"]["country"]; ?>' ><i class="famfamfam-flag-<?php echo $feed["Feed"]["country_code"] ;?>"></i> <?php echo __(isset($feed["Feed"]["description"])?$feed["Feed"]["description"]:$feed["Feed"]["country"]); ?></a>
      		</p>
		<?php } ?>
      </div>
    </div>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading">
      <h4 class="panel-title">
        <a data-toggle="collapse" data-parent="#accordion" href="#collapseHistorical">
          <i style="color:#2A9655" class="fa fa-clock-o fa-fw"></i> <?php echo __("Storico calcio"); ?>
        </a>
      </h4>
    </div>
    <div id="collapseHistorical" class="panel-collapse collapse <?php echo $this->name.'/'.$this->action=='Match/historical'?'in':''; ?>">
      <div class="panel-body">
	      	<?php foreach ($this->Session->read("country_historical") as $cs) { ?>
	      		<p>
				  	<a href='<?php echo $this->webroot."matches/".$cs["Tournament"]["country_slug"]; ?>' >
				  		<?php if(isset($cs["Tournament"]["country_code"])) { ?>
					  		<i class='<?php echo 'famfamfam-flag-'.$cs["Tournament"]["country_code"]; ?>'></i><?php } ?> <?php echo __($cs["Tournament"]["country"]); ?>
				  	</a>
	      		</p>
			<?php } ?>
      </div>
    </div>
  </div>
  <div class="panel panel-default">
	    <div class="panel-heading">
	      <h4 class="panel-title">
	        <a  data-parent="" href="<?php echo $this->webroot; ?>Partner/index">
	          <i style="color:#F50000" class="fa fa-users fa-fw"></i> <?php echo __("Partner"); ?>
	        </a>
	      </h4>
	    </div>
	    <div id="collapsePartner" class="panel-collapse collapse <?php echo $this->name.'/'.$this->action=='Partner/index'?'in':''; ?>">
	    </div>
  </div>
</div>
